package virtualC;

/************************************************************************
  			persona.java - Copyright gabriel

Here you can write a license for your code, some comments or any other
information you want to have in your generated code. To to this simply
configure the "headings" directory in uml to point to a directory
where you have your heading files.

or you can just replace the contents of this file with your own.
If you want to do this, this file is located at

/usr/share/apps/umbrello/headings/heading.java

-->Code Generators searches for heading files based on the file extension
   i.e. it will look for a file name ending in ".h" to include in C++ header
   files, and for a file name ending in ".java" to include in all generated
   java code.
   If you name the file "heading.<extension>", Code Generator will always
   choose this file even if there are other files with the same extension in the
   directory. If you name the file something else, it must be the only one with that
   extension in the directory to guarantee that Code Generator will choose it.

you can use variables in your heading files which are replaced at generation
time. possible variables are : author, date, time, filename and filepath.
just write %variable_name%

This file was generated on mar nov 4 2008 at 23:22:57
The original location of this file is /home/gabriel/uml-generated-code/nuevo/persona.java
**************************************************************************/



/**
 * Class persona
 */
public class persona {

  //
  // Fields
  //

  private String nombre;
  private int dni;
  private String apellido;
  private int telefono;
//  private date fechaNacimiento;
  private String observacion;
  private String password;
  
  //
  // Constructors
  //
  public persona () { };
  
  //
  // Methods
  //


  //
  // Accessor methods
  //

  /**
   * Set the value of nombre
   * @param newVar the new value of nombre
   */
  private void setNombre ( String newVar ) {
    nombre = newVar;
  }

  /**
   * Get the value of nombre
   * @return the value of nombre
   */
  private String getNombre ( ) {
    return nombre;
  }

  /**
   * Set the value of dni
   * @param newVar the new value of dni
   */
  private void setDni ( int newVar ) {
    dni = newVar;
  }

  /**
   * Get the value of dni
   * @return the value of dni
   */
  private int getDni ( ) {
    return dni;
  }

  /**
   * Set the value of apellido
   * @param newVar the new value of apellido
   */
  private void setApellido ( String newVar ) {
    apellido = newVar;
  }

  /**
   * Get the value of apellido
   * @return the value of apellido
   */
  private String getApellido ( ) {
    return apellido;
  }

  /**
   * Set the value of telefono
   * @param newVar the new value of telefono
   */
  private void setTelefono ( int newVar ) {
    telefono = newVar;
  }

  /**
   * Get the value of telefono
   * @return the value of telefono
   */
  private int getTelefono ( ) {
    return telefono;
  }

  /**
   * Set the value of fechaNacimiento
   * @param newVar the new value of fechaNacimiento
   */
  /*
  private void setFechaNacimiento ( date newVar ) {
    fechaNacimiento = newVar;
  }
   */

  /**
   * Get the value of fechaNacimiento
   * @return the value of fechaNacimiento
   */
  /*
  private date getFechaNacimiento ( ) {
    return fechaNacimiento;
  }
   */

  /**
   * Set the value of observacion
   * @param newVar the new value of observacion
   */
  private void setObservacion ( String newVar ) {
    observacion = newVar;
  }

  /**
   * Get the value of observacion
   * @return the value of observacion
   */
  private String getObservacion ( ) {
    return observacion;
  }

  /**
   * Set the value of password
   * @param newVar the new value of password
   */
  private void setPassword ( String newVar ) {
    password = newVar;
  }

  /**
   * Get the value of password
   * @return the value of password
   */
  private String getPassword ( ) {
    return password;
  }

  //
  // Other methods
  //

  /**
   * @return       String
   */
/*  public String getNombre(  )
  {

  }
*/

  /**
   */
  public void setNombre(  )
  {

  }


  /**
   * @return       String
   */
/*
  public String getApellido(  )
  {

  }
*/

  /**
   */
  public void setApellido(  )
  {

  }


  /**
   * @return       int
   */
/*
  public int getDni(  )
  {

  }
*/

  /**
   */
  public void setDni(  )
  {

  }


  /**
   * @return       int
   */
/*
  public int getTelefono(  )
  {

  }
*/

  /**
   */
  public void setTelefono(  )
  {

  }


  /**
   * @return       boolean
   * @param        password_
   */
  public boolean validarPassword( String password_ )
  {
    return true;
  }


}
